import request from './request';

// 请求榜单数据
export const reqGetAllTopList = () =>{
  return request({
    method: 'GET',
    url: '/toplist'
  })
}
// 请求榜单歌曲列表
export const reqGetTopPlayList = (id)=>{
  return request({
    method: 'GET',
    url: `/playlist/detail?id=${id}`,
  })
}